package tst.bsi;

import java.util.Date;

import indi.zjh.dp.orm.Business;
import indi.zjh.dp.orm.Relation;

public class Schedule extends Business {
	protected Date start = new Date();
	protected Date end = new Date();
	protected Relation project = new Relation(Project.class);
	protected Relation activity = new Relation(Activity.class);
	public Date getStart() {
		return start;
	}
	public void setStart(Date start) {
		this.start = start;
	}
	public Date getEnd() {
		return end;
	}
	public void setEnd(Date end) {
		this.end = end;
	}
	public Relation getProject() {
		return project;
	}
	public Relation getActivity() {
		return activity;
	}
	@Override
	public String toString() {
		return "Schedule [start=" + start + ", end=" + end + ", project="
				+ project + ", activity=" + activity + ", _id=" + _id + "]";
	}
}
